package org.dromara.oce.domain.bo;

import org.dromara.oce.domain.CompilePeopleRecord;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 编辑人员业务对象 compile_people_record
 *
 * @author Lion Li
 * @date 2025-02-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CompilePeopleRecord.class, reverseConvertGenerate = false)
public class CompilePeopleRecordBo extends BaseEntity {

    /**
     * 编辑人员Id
     */
    @NotNull(message = "编辑人员Id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 编辑姓名
     */
    @NotBlank(message = "编辑姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String compileName;

    /**
     * 创建日期
     */
//    @NotBlank(message = "创建日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String thatDayDate;


}
